<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <title>公信商城－商品管理</title>

    <!--图标字体 http://fontawesome.io/icons/ -->
    <link rel="stylesheet" href="css/font/css/font-awesome.min.css" />
    <link rel="stylesheet" href="css/ui-base.css"/>
    <link rel="stylesheet" href="css/main.css"/>
    <script src="js/jquery.min.js"></script>
    <!--<script src="js/loaderMask.js"></script>-->

    <!--icheck组件-->
    <link href="js/icheck-1.x/skins/flat/blue.css" rel="stylesheet">
    <script src="js/icheck-1.x/icheck.min.js"></script>
</head>
<body>
    <header class="header an-util-both">
        <span class="title">商品管理</span>
        <a class="l-btn l-back" href="myStore-index.html"></a>
        <a class="r-btn" href="myStore-goods-add.html">添加</a>
    </header>
    <div class="content w100 ho">
        <div class="order-btn goods-btn ho">
            <ul>
                <li><a href="myStore-goods.html">出售中</a></li>
                <li><a href="##">下架</a></li>
                <li class="on"><a href="##">分类</a></li>
            </ul>
        </div>
        <div class="goods-content w100 ho">
            <div class="month-bill-list ho" style="background-color: #f4f4f4">
                <!--分类-->
                <div class="list bor-b ho">
                    <div class="tt">
                        <span class="f-l">食品</span>
                        <i class="fa fa-angle-down f-r"></i>
                        <span class="selected omission f-r">共2件商品</span>
                    </div>
                    <div class="sort-li ho">
                        <div class="goods-li">
                            <a class="ho d-b w100" href="details.html"><!--预览-->
                                <img src="images/mainpage/goods-img02.jpg" class="goods-img f-l">
                                <div class="f-l rr ho">
                                    <span class="tt omission">手工制作楠木老漆龟甲勺手工制作楠木老漆龟甲勺</span>
                                    <span class="price">￥38.8</span>
                                    <span class="ss">销量：1</span>
                                    <span class="ss">收藏：1</span>
                                    <span class="ss">库存：10001</span>
                                    <span class="ss sss">添加：2015/10/01</span>
                                </div>
                            </a>
                            <ul class="menu-list ho bor-t">
                                <li><a href="myStore-goods-edit.html">编辑</a></li>
                                <li><a href="##">下架</a></li>
                                <li><a href="##">分享</a></li>
                                <li><a href="##">删除</a></li>
                            </ul>
                        </div>
                        <div class="goods-li">
                            <a class="ho d-b w100" href="details.html"><!--预览-->
                                <img src="images/mainpage/goods-img02.jpg" class="goods-img f-l">
                                <div class="f-l rr ho">
                                    <span class="tt omission">手工制作楠木老漆龟甲勺手工制作楠木老漆龟甲勺</span>
                                    <span class="price">￥38.8</span>
                                    <span class="ss">销量：1</span>
                                    <span class="ss">收藏：1</span>
                                    <span class="ss">库存：10001</span>
                                    <span class="ss sss">添加：2015/10/01</span>
                                </div>
                            </a>
                            <ul class="menu-list ho bor-t">
                                <li><a href="myStore-goods-edit.html">编辑</a></li>
                                <li><a href="##">下架</a></li>
                                <li><a href="##">分享</a></li>
                                <li><a href="##">删除</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="list bor-b ho">
                    <div class="tt">
                        <span class="f-l">特产</span>
                        <i class="fa fa-angle-down f-r"></i>
                        <span class="selected omission f-r">共2件商品</span>
                    </div>
                    <div class="sort-li ho">
                        <div class="goods-li">
                            <a class="ho d-b w100" href="details.html"><!--预览-->
                                <img src="images/mainpage/goods-img02.jpg" class="goods-img f-l">
                                <div class="f-l rr ho">
                                    <span class="tt omission">手工制作楠木老漆龟甲勺手工制作楠木老漆龟甲勺</span>
                                    <span class="price">￥38.8</span>
                                    <span class="ss">销量：1</span>
                                    <span class="ss">收藏：1</span>
                                    <span class="ss">库存：10001</span>
                                    <span class="ss sss">添加：2015/10/01</span>
                                </div>
                            </a>
                            <ul class="menu-list ho bor-t">
                                <li><a href="myStore-goods-edit.html">编辑</a></li>
                                <li><a href="##">下架</a></li>
                                <li><a href="##">分享</a></li>
                                <li><a href="##">删除</a></li>
                            </ul>
                        </div>
                        <div class="goods-li">
                            <a class="ho d-b w100" href="details.html"><!--预览-->
                                <img src="images/mainpage/goods-img02.jpg" class="goods-img f-l">
                                <div class="f-l rr ho">
                                    <span class="tt omission">手工制作楠木老漆龟甲勺手工制作楠木老漆龟甲勺</span>
                                    <span class="price">￥38.8</span>
                                    <span class="ss">销量：1</span>
                                    <span class="ss">收藏：1</span>
                                    <span class="ss">库存：10001</span>
                                    <span class="ss sss">添加：2015/10/01</span>
                                </div>
                            </a>
                            <ul class="menu-list ho bor-t">
                                <li><a href="myStore-goods-edit.html">编辑</a></li>
                                <li><a href="##">下架</a></li>
                                <li><a href="##">分享</a></li>
                                <li><a href="##">删除</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>
<script>
    $(function () {
        /*按钮切换*/
        $('.order-btn li').on('click', function () {
            $(this).addClass('on').siblings().removeClass('on');
        });

        /*展开信息*/
        $('.month-bill-list .list .tt').on('click', function () {
            if ($(this).hasClass('select')) {
                $(this).removeClass('select');
                $(this).parent().find('.sort-li').slideUp("slow", "linear");
            } else {
                $('.month-bill-list .list .tt').removeClass('select');
                $('.month-bill-list .list .sort-li').slideUp("slow", "linear");
                $(this).addClass('select');
                $(this).parent().find('.sort-li').slideDown("slow", "linear");
            }
        });
    });
</script>
</body>
</html>